home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
lib
/
c
/
unixSyscall
/
RCS
/
getpagesize.c,v
< prev
next >
Wrap
Text File
|
1988-06-19
|
981b
|
66 lines
head 1.1;
access ;
symbols ;
locks ; strict;
comment @ * @;
1.1
date 88.06.19.14.31.26; author ouster; state Exp;
branches ;
next ;
desc
@@
1.1
log
@Initial revision
@
text
@/*
* getpagesize.c --
*
* Procedure to map from Unix getpagesize system call to Sprite.
*
* Copyright 1986 Regents of the University of California
* All rights reserved.
*/
#ifndef lint
static char rcsid[] = "$Header: getpagesize.c,v 1.1 87/04/27 15:25:35 brent Exp $ SPRITE (Berkeley)";
#endif not lint
#include "sprite.h"
#include "compatInt.h"
/*
*----------------------------------------------------------------------
*
* getpagesize --
*
* Procedure to map Unix getpagesize call to Vm_GetPageSize.
*
* Results:
* The page size used by Sprite is returned.
*
* Side effects:
* None.
*
*----------------------------------------------------------------------
*/
int
getpagesize()
{
int size;
(void)Vm_PageSize(&size);
return(size);
}
@